package edu.sctu.practice.class02.hujie.cgs.assign02s;

/**
 * Created by hp on 2015/12/24.
 */
public class GreekAlphabet {
    public static void main(String[] args) {
        int startPosition=0,endPosition=0;
        char cStart='α',cEnd='ω';
        startPosition=(int)cStart;
        endPosition=(int)cEnd;
        System.out.println("希腊字母\'α\'在unicode表中的顺序位置："+(int)cStart);
        System.out.println("希腊字母表：");
        for (int i=startPosition;i<endPosition;i++){
            char c='\0';
            c=(char)i;
            System.out.print(""+c);
            if ((i-startPosition+1)%10==0){
                System.out.println("");
            }
        }
    }
}
